package com.Luoyi.springframework.context;

import com.Luoyi.springframework.beans.BeansException;
/*
* 虚拟机关闭狗子注册调用销毁方法
* */
public interface ConfigurableApplicationContext extends ApplicationContext{

    void refresh() throws BeansException;

    //注册关闭钩子
    //Hook --> 钩子
    void registerShutdownHook();

    void close();
}
